From: Michael Heerdegen Date: Wed, 16 Oct 2019 11:07:05 +0000 (+0200) Subject: Extend debug spec of cl-flet (Bug#34481) X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1^2~5^2~19^2~1399 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=2d13a3f68d4724af52e47675bedf60709c7b5171;p=emacs.git Extend debug spec of cl-flet (Bug#34481) * lisp/emacs-lisp/cl-macs.el (cl-flet): Extend debug spec to cover definitions of the form (FUNC EXP). --- diff --git a/lisp/emacs-lisp/cl-macs.el b/lisp/emacs-lisp/cl-macs.el index 92154855f3b..80e218884a0 100644 --- a/lisp/emacs-lisp/cl-macs.el +++ b/lisp/emacs-lisp/cl-macs.el @@ -2047,7 +2047,9 @@ recursive function definitions. Use `cl-labels' for that. See info node `(cl) Function Bindings' for details. \(fn ((FUNC ARGLIST BODY...) ...) FORM...)" - (declare (indent 1) (debug ((&rest (cl-defun)) cl-declarations body))) + (declare (indent 1) + (debug ((&rest [&or (&define name function-form) (cl-defun)]) + cl-declarations body))) (let ((binds ()) (newenv macroexpand-all-environment)) (dolist (binding bindings) (let ((var (make-symbol (format "--cl-%s--" (car binding))))